//
//  AboutUSViewController.m
//  e_cloud
//
//  Created by gynjobs on 2017/8/16.
//  Copyright © 2017年 gynjobs. All rights reserved.
//

#import "AboutUSViewController.h"

@interface AboutUSViewController ()
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *merginTop;

@end

@implementation AboutUSViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    self.title = self.controllerTitle;
    self.merginTop.constant = R_Y_H(240);
    [self setLeftBackButton];
    // Do any additional setup after loading the view from its nib.
}
-(void)setLeftBackButton{
    UIImageView *backButton = [self setLeftNavigationButtonIconName:@"返回icon" AndSize:CGSizeMake(40, 60)];
    backButton.contentMode = UIViewContentModeCenter ;
    UITapGestureRecognizer *tapGes = [[UITapGestureRecognizer alloc]initWithTarget:self action:@selector(skidClick:)];
    [backButton addGestureRecognizer:tapGes];
}
-(void)skidClick:(UITapGestureRecognizer *)tapGes{
    [self.navigationController popViewControllerAnimated:YES];
}
- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
